package com.wyzz.hr.action;

import java.util.List;

import com.wyzz.hr.base.BaseAction;
import com.wyzz.hr.bo.IContractTypeBo;
import com.wyzz.hr.spring.SpringBeanFactory;

public class ContractTypeAction extends BaseAction {

	public ContractTypeAction() {
	}

	public String execute() throws Exception {
		IContractTypeBo contractBo = (IContractTypeBo) SpringBeanFactory
				.getBean("contractTypeBo");
		allContractType = contractBo.FindAllEcptype();
		return "success";
	}

	public List getAllContractType() {
		return allContractType;
	}

	public void setAllContractType(List allContractType) {
		this.allContractType = allContractType;
	}

	private List allContractType;
}
